package com.bafa.objects.player;

import java.util.TreeMap;

public class PlayerSeason {

private int seasonId;
private TreeMap divisionGoals = new TreeMap();
private TreeMap<Integer,PlayerTeam> teamGoals = new TreeMap();
private TreeMap<Integer,PlayerMatch> matchGoals = new TreeMap();
private int goals;
    public PlayerSeason() {
    }

    public void setSeasonId(int seasonId) {
        this.seasonId = seasonId;
    }

    public int getSeasonId() {
        return seasonId;
    }

    public void setGoals(int goals) {
        this.goals = goals;
    }

    public int getGoals() {
        return goals;
    }

	public TreeMap getDivisionGoals() {
		return divisionGoals;
	}

	public void setDivisionGoals(TreeMap divisionGoals) {
		this.divisionGoals = divisionGoals;
	}
	
	public void addDivisionGoals(int divisionId, PlayerDivision division){
		divisionGoals.put(divisionId,division);
	}

	public void addTeamGoals(int teamId, PlayerTeam team){
		teamGoals.put(teamId,team);
	}
	public void addMatchGoals(int matchId, PlayerMatch match){
		matchGoals.put(matchId,match);
	}
	public TreeMap<Integer, PlayerTeam> getTeamGoals() {
		return teamGoals;
	}

	public void setTeamGoals(TreeMap<Integer, PlayerTeam> teamGoals) {
		this.teamGoals = teamGoals;
	}

	public TreeMap<Integer, PlayerMatch> getMatchGoals() {
		return matchGoals;
	}

	public void setMatchGoals(TreeMap<Integer, PlayerMatch> matchGoals) {
		this.matchGoals = matchGoals;
	}
}
